package system

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/system/v1"
)

func (c *ControllerV1) DictDataList(ctx context.Context, req *v1.DictDataListReq) (res *v1.DictDataListRes, err error) {
	res = &v1.DictDataListRes{}
	res.Rows, res.Total, err = service.SysDictData().List(ctx, &req.DictDataListInput)
	return
}
